<!--<html>
<head>
<title>Upload Form</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="apple-mobile-web-app-capable" content="yes" />
<script type="text/javascript" src="<?php echo $this->config->base_url(); ?>assets/js/jquery-1.7.min.js"></script>
<link href="<?php echo $this->config->base_url(); ?>assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="<?php echo $this->config->base_url(); ?>assets/css/bootstrap.min.css" rel="stylesheet">
<script type="text/javascript" src="<?php echo $this->config->base_url(); ?>assets/js/bootstrap.min.js"></script>
</head>-->
<body>
<?php echo $error; ?>

<?php echo form_open_multipart('user/upload/do_upload');?>
	<table>
	<tr>
		<td>Text Area:	</td>
	</tr>
	<tr>
		<td><textarea id="name" name="textarea"></textarea></td>
	</tr>
	<tr>
		<td>Input file:	</td>
	</tr>
	<tr>
		<td><input type="file" size="20" name="userfile[]" multiple="multiple" /></td>
	<td>
	</tr>
	<tr>	
	<td><input class="btn btn-primary" type="submit" data-loading-text="Loading..." name="submit" id="submit" value="submit"></td>
	</tr>
	</table>
	<td><?php echo form_close(); ?></td>
	<?php print_r($error); ?>
	</body>
	</html>